package com.blood.core.enums;

/**
 * @author daoren
 * @date 2021/3/3 10:30
 * @description 角色权限
 */
public enum RoleTypeEnum {
    ADMIN("1", "超级管理员"),
    CENTER_ADMIN("2", "管理员"),
    CENTER_REPORTER("3", "医生"),
    CENTER_DOCTOR("4", "护士"),
    MIDWIFE_DOCTOR("5", "助产士"),
    ;

    private String value;
    private String name;

    RoleTypeEnum(String value, String name) {
        this.name = name;
        this.value = value;
    }

    public String getValue() {
        return this.value;
    }

    public String getName() {
        return this.name;
    }
}
